DebugBuild Constant
Used to determine whether the current operating environment is the IDE. DebugBuild is True when you compile the project by clicking the Run button in the Toolbar.
result=DebugBuild
Part | Type | Description |
result | Boolean | True if the application is running within REALbasic, i.e., you chose Debug . Run. |
Example
The following example displays a message box only in the IDE.
See Also
RBVersion, RBVersionString, TargetBigEndian, TargetCarbon, TargetHasGUI, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetMacOSClassic, TargetWin32 constants; #If statement.